/*
 * @Description: 
 * @Version: 2.0
 * @Autor: lxc
 * @Date: 2020-12-15 13:55:59
 * @LastEditors: lxc
 * @LastEditTime: 2020-12-15 14:27:54
 */
const isEmpty = value => {
    return value === undefined || value === null ||
        (typeof value === 'object' && Object.keys(value).length === 0) ||
        (typeof value === 'string' && value.trim().length === 0)
}

module.exports = isEmpty;